package com.outstanding.junit.bo;


import com.outstanding.framework.core.BObject;
import com.outstanding.framework.core.Logger;
import com.outstanding.junit.enums.Sex;

public class Person implements BObject{
	private String id;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	private String name;
	private int age;
	private Sex sex;
	
	//private Dog dog;
	
//	public Dog getDog() {
//		return dog;
//	}
	
	
	public void sayHello(Logger loger) {
		loger.info("the name is "+ this.getName()+" say hello");
	}
//	public void setDog(Dog dog) {
//		this.dog = dog;
//	}
	public Sex getSex() {
		return sex;
	}
	public void setSex(Sex sex) {
		this.sex = sex;
	}
}
